package com.wangijun.yuan.admin.system.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@Schema(description = "用户编辑参数")
public class MenuUpdateParam {

    @NotNull(message = "主键不可为空")
    @Schema(description = "主键")
    private Long id;
    @Schema(description = "父级ID")
    private String pid;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "Url地址")
    private String url;
    @Schema(description = "权限")
    private String auth;
    @Schema(description = "菜单类别")
    private String type;
    @Schema(description = "排序")
    private Integer sort;
}
